package thread.threadpoll;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class SystemThreadPoolTest {
    public static void main(String[] args) {
        ExecutorService cachedThreadPool = Executors.newCachedThreadPool();

        ExecutorService fixedThreadPool = Executors.newFixedThreadPool(3);

        ExecutorService scheduledThreadPool = Executors.newScheduledThreadPool(3);

        ExecutorService singledThreadPool = Executors.newSingleThreadExecutor();
    }
}
